<template>
  <div>
    <el-card class="box-card">
      <template #header>
        <div>{{ title }}</div>
      </template>
      <div>
        <slot></slot>
      </div>
    </el-card>
  </div>
</template>

<script setup lang="ts">
import { defineProps } from 'vue'

const props = defineProps({
  title: {
    type: String,
    default: 'card'
  }
})
</script>

<style scoped></style>
